package com.hyw.supply.model.query;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author zzp
 * @date 2024/3/15 14:38
 */
@Data
public class OrderListQuery extends BaseCommonPage{

    @Schema(title = "orderStatus", description = "订单状态")
    private String orderStatus;

    @Schema(title = "itemOrderNo", description = "项目订单号")
    private String itemOrderNo;

    @Schema(title = "childOrderNo", description = "子订单编号")
    private String childOrderNo;

    @Schema(title = "skuCode", description = "sku编码")
    private String skuCode;

    @Schema(title = "goodsName", description = "商品名称")
    private String goodsName;

    @Schema(title = "itemCode", description = "项目编码")
    private String itemCode;

    @Schema(title = "startDeliveryDate", description = "开始发货时间,时间格式：yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startDeliveryDate;

    @Schema(title = "endDeliveryDate", description = "结束发货时间,时间格式：yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endDeliveryDate;

    @Schema(title = "enterprise", description = "企业主体")
    private String enterprise;

    @Schema(title = "idList", description = "id集合，用于勾选导出")
    private List<Long> idList;


}
